package cn.sangyy.org.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;

/**
 * @author SangYY
 * @date: 2023/05/23/17:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShopRegisterDto {

    @NotBlank(message = "店铺名字不能为空！")
    private String name;
    @NotBlank(message = "店铺座机不能为空！")
    private String tel;
    @NotBlank(message = "店铺地址不能为空！")
    private String address;
    private String logo;
    @Valid
    private ShopAdminDto admin;
}
